//
// Description: 292. Nim 游戏
// Created by Loading on 2021/9/18.
//

#include <bits/stdc++.h>

using namespace std;

bool canWinNim(int n) {
    return n % 4 != 0;
}

int main() {
    int n = 2134322531;
    bool res = canWinNim(n);
    cout << res << endl;

    return 0;
}